<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>{$new.title}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="keywords" content="{$new.keywords}" />
	<meta name="description" content="{$new.description}" />
	<link rel="stylesheet" type="text/css" href="__ROOT__/template/default/css/style.css" />
	<script type='text/javascript' src='__ROOT__/template/default/js/jquery-1.8.1.min.js'></script>
	<script type='text/javascript' src='__ROOT__/template/default/js/index.js'></script>
</head>
<body>
	<loadfile file='/header.html' />
	<!--头部结束-->
	<!--主体开始-->
	<div id='main'>
		<div class='now_path'>
			<div class='now_path_l l'>
				当前位置：<split />
			</div>
			<div class='now_path_r r'>
				<div class='searchdiv'>
					<form action='?' method="post" id='searchform'>
						<input type='text' name='search' value='Search' class='search l'/>
						<input type='submit' value='->' class='submit r'/>
					</form>
				</div>
			</div>
		</div>
		
		<div class="wrapper"><!--文章页面-->
			<div id="roll"><div title="回到顶部" id="roll_top">↑</div><div title="查看评论" id="ct">P</div><div title="转到底部" id="fall">↓</div></div>
            <div class="content">
                <h1 class='arc_title'>{$new.title}</h1>
				<div class='article_info'>
					作者：{$new.username} &nbsp; 发布：{$new.addtime|date:"Y-m-d H-m",@@} &nbsp; 分类：<a href="#" title="查看 {$new.cname} 中的全部文章" rel="category tag">{$new.cname}</a> &nbsp; 阅读：{$new.click}次 &nbsp; <a href="#comments" title="《{$new.title}》上的评论">{$new.comments}条评论</a> &nbsp;
				</div>
				<div class='context'>
					{$new.body}
				</div>
				<!--上下篇-->
				<div class='pre_next'>
					<ul>
						<prenext>
						<li>【上一篇】{$prehtml}</li>
						<li>【下一篇】{$nexthtml}</li>
					</ul>
				</div>
				<div class='relatedposts'>
					<div class='list_title'>
						<p>您还可能感兴趣的文章：</p>
					</div>
					<ul class='relatenews'>
						<li><a href='#'>世界，你好世界，你好！世界，你好！世界，你好！世界，你好！！</a></li>
						<li><a href='#'>世界，你好！世界，你好！世界，你好！</a></li>
						<li><a href='#'>世界，你世界，你好！世界，你好！世界，你好！世界，你好！世界，你好！世界，你好！世界，你好！好！</a></li>
						<li><a href='#'>世界，你好！世界，你好！世界，你好！</a></li>
						<li><a href='#'>世界，你好！</a></li>
						<li><a href='#'>世界，你世界，你好！世界，你好！好！</a></li>
						<li><a href='#'>世界，你好世界，你好！世界，你好！世界，你好！！</a></li>
						<li><a href='#'>世界，你好！</a></li>
					</ul>
				</div>
				<div style=' clear:both;'></div>
				<div id='comments'>
					<div class='list_title'>
						<p>访客评论</p>
					</div>
					<ul class='commentlist'>
						<li id='comment-评论id' class='comment'>
							<div id="div-comment-20898" class="comment-body">
      							<div class="vcard">
      								<img src='http://www.weisay.com/blog/avatar/d744fe7ca08943ae5b2f1e2cac92101e.jpg' alt='' class='avatar' />
                					<div class="floor"></div>
									<strong><a href='' rel='external nofollow' class='url'>William</a> <img src='http://www.weisay.com/blog/wp-content/plugins/show-useragent/browsers/firefox.png' title='Mozilla Firefox 14.0.1' alt='Mozilla Firefox' width='12px' height='12px' class='browser-icon' />   <img src='http://www.weisay.com/blog/wp-content/plugins/show-useragent/browsers/windows_win7.png' title='Windows 7' alt='Windows' width='12px' height='12px' class='os-icon' />  </strong>:
								</div>
								<p>此功能建议百度搜索，几句话说不清楚。</p>
								<div class="clear"></div>
								<span class="datetime">2012-08-23 11:59 </span> <span class="reply"><a class='comment-reply-link' href='/blog/star-rating-use-css.html?replytocom=20898#respond' onclick='return addComment.moveForm("div-comment-20898", "20898", "respond", "495")'>[回复]</a></span>
  							</div>
							
							<ul class='children'>
								<li class="comment byuser comment-author-william bypostauthor even depth-2" id="comment-20915">
								   <div id="div-comment-20915" class="comment-body">
						      		<div class="comment-author vcard">
						      			<img src='http://www.weisay.com/blog/avatar/d744fe7ca08943ae5b2f1e2cac92101e.jpg' alt='' class='avatar' />
						               	<div class="floor"></div>
										<strong><a href='http://www.weisay.com/' rel='external nofollow' class='url'>William</a> <img src='http://www.weisay.com/blog/wp-content/plugins/show-useragent/browsers/firefox.png' title='Mozilla Firefox 14.0.1' alt='Mozilla Firefox' width='12px' height='12px' class='browser-icon' />   
										<img src='http://www.weisay.com/blog/wp-content/plugins/show-useragent/browsers/windows_win7.png' title='Windows 7' alt='Windows' width='12px' height='12px' class='os-icon' />  
										</strong>:
									</div>
									<p>哪里没放？ <img src='http://www.weisay.com/blog/wp-content/themes/weisaybox/includes/smiley/icon_question.gif' alt=':?:' class='wp-smiley' /> </p>
									<div class="clear"></div>
									<span class="datetime">2012-08-24 18:38 </span>
									<span class="reply"><a class='comment-reply-link' href='#'>[回复]</a></span>
								  </div>
								</li>
							</ul>
							
						</li>
					</ul>
				</div>
				<!--comment--form评论表单-->
				<div id="respond" class="no_webshot">
					<div class='list_title' style='margin-bottom:15px;'>
						<p>我来说说</p>
					</div>
					<form action='__WEB__/index/index/comment' method='post' name='comment'><!--用户登陆-->
						<div id="comment-author-info">
							<p><label for="author">NAME</label><input type="text" name="author" id="author" value="" size="14" tabindex="1" /><em>*</em></p>
							<p><label for="email">EMAIL</label><input type="text" name="email" id="email" value="" size="25" tabindex="2" /><em>*</em></p>
							<p class="comment-author-url"><label for="url">URL</label><input type="text" name="url" id="url" value="" /></p>
						</div>
						<!--提交评论-->
						<div class="post-area">
							<editor name='body' style='1' height='150'/>
						</div>
						<div class="subcon">
							<input class="btn primary" type="submit" name="submit" id="submit_comment" tabindex="5" value="提交评论（Ctrl+Enter）" />
						</div>
					</form>
				</div>
            </div>
            <div class="sidebar">
                <div class="widget widget_recent_entries">
                    <h3 class="widget-tit">近期文章</h3>
                    <ul>
                        <li>
                            <a href="http://localhost/wordpress/?p=1" title="世界，你好！">世界，你好！</a>
                        </li>
                    </ul>
                </div>
                <div class="widget widget_archive">
                    <h3 class="widget-tit">文章归档</h3>
                    <ul>
                        <li>
                            <a href='http://localhost/wordpress/?m=201209' title='2012 年九月'>2012 年九月</a>
                        </li>
                    </ul>
                </div>
                <div class="widget widget_categories">
                    <h3 class="widget-tit">分类目录</h3>
                    <ul>
                        <li class="cat-item cat-item-1">
                            <a href="http://localhost/wordpress/?cat=1" title="查看 未分类 下的所有文章">未分类</a>
                        </li>
                    </ul>
                </div>
                <div class="widget widget_meta">
                    <h3 class="widget-tit">功能</h3>
                    <ul>
                        <li>
                            <a href="http://localhost/wordpress/wp-login.php">登录</a>
                        </li>
                        <li>
                            <a href="http://localhost/wordpress/?feed=rss2" title="使用 RSS 2.0 订阅本站点内容">文章 
                                <abbr title="Really Simple Syndication">
                                    RSS
                                </abbr>
                            </a>
                        </li>
                        <li>
                            <a href="http://localhost/wordpress/?feed=comments-rss2" title="使用 RSS 订阅本站点的所有文章的近期评论">评论 
                                <abbr title="Really Simple Syndication">
                                    RSS
                                </abbr>
                            </a>
                        </li>
                        <li>
                            <a href="http://cn.wordpress.org/" title="基于 WordPress，一个优美、先进的个人信息发布平台。">WordPress.org</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
	</div>
	<!--主体结束-->
	<!--footer开始-->
	<loadfile file='/footer.html' />
	<script type='text/javascript'>
		$(function(){
			$.ajax({
				type:'POST',
				url:'__WEB__/index/index/pageClickNum/',
				data:'mid=<?php echo $_GET["mid"]; ?>&nid=<?php echo $_GET["nid"]; ?>',
			});
			/*$('#submit_comment').click(function(){
				var commentdata = $('form[name="comment"]').serialize();
				$.ajax({
					type:'post',
					url:'__WEB__/index/index/comment',
					data:commentdata,
					success:function(data){
						alert(data);
					}
				});
				return false;
			});*/
		});
	</script>
</body>
</html>